<template>
  <div>
    <Header />

    <Recently />
    <Footer />
  </div>
</template>

<script>
import Header from '../components/Header'
import Footer from '../components/Footer'
import Recently from '../components/Recently'

export default {
  name: 'List',
  data() {
    return {
      updtelist: [],
    }
  },

  components: {
    Header,
    Footer,
    Recently,
  },

  computed: {},

  methods: {
    getUpdate() {
      this.$axios.get(`http://localhost:3000Footer`).then(res => {
        // //标签
        // console.log('请求成功了', res.data.list.artists)
        // // console.log(updata)
        // this.$bus.$emit('getUpdate', res.data.list.artists)
      })
    },
  },
  mounted() {
    // this.$bus.$on('getUpdate', updtelist => {
    //   console.log('我是Song组件 收到了数据:', updtelist)
    //   this.updtelist = updtelist
    // })
  },
}
</script>
<style lang="css" scoped></style>
